home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 95 API Bible
/
Windows 95 API Bible 3 Disc Set.iso
/
Win32 API Bible Book 1 of 3.iso
/
chapter9
/
setcursp.exe
/
[0]
Wrap
Text File
|
1996-01-29
|
464b
|
12 lines
yout()
Example This example retrieves the active keyboard layout name for the application and displayes it in a message box when the user selects the ôTest!ö menu item.
LRESULT CALLBACK WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
{
switch( uMsg )
{
case WM_COMMAND :
switch( LOWORD( wParam ) )
{
case IDM_TEST :
{
char szKBName[ KL_NAMEL